package com.javacoo.event.client.context;

import java.util.HashSet;
import java.util.Set;

/**
 * 事件上下文
 * <li></li>
 *
 * @author: duanyong@jccfc.com
 * @since: 2021/10/21 8:58
 */
public class EventContext {
    /**
     * 事件监听对象对象集合
     */
    private Set<Object> listeningObjects = new HashSet<>();

    public Set<Object> getListeningObjects() {
        return listeningObjects;
    }

    public void addListeningObject(Object listeningObject){
        listeningObjects.add(listeningObject);
    }

}
